.PHONY:all
all:tcpserve tcpclient

tcpserve:main.cc
	g++ -o $@ $^ -std=c++17 -ljsoncpp
tcpclient:TcpClient.cpp
	g++ -o $@ $^ -std=c++17 -ljsoncpp

.PHONY:clean
clean:
	rm -f tcpserve tcpclient